use inc::Module::Install;

name 'Typeface';
abstract    'Perl Interface to Joe Hacker';
author      'Joe Hacker <joe@hacker.org>';

all_from 'lib/Typeface.pm';

requires 'Catalyst' => '5.7014';
requires 'Catalyst::Plugin::ConfigLoader';
requires 'Catalyst::Plugin::Static::Simple';
requires 'Catalyst::Action::RenderView';
requires 'parent';
requires 'Catalyst::Controller::FormBuilder';
requires 'Catalyst::Plugin::StackTrace';

requires 'Catalyst::Plugin::Unicode';
requires 'Catalyst::Plugin::I18N';

requires 'Catalyst::Plugin::Session';
requires 'Catalyst::Plugin::Session::Store::FastMmap';

requires 'Catalyst::Plugin::Cache';
requires 'Catalyst::Plugin::PageCache';
requires 'Catalyst::Plugin::Cache::Store::FastMmap';
requires 'Catalyst::Plugin::Session::State::Cookie';

requires 'Catalyst::Authentication::Store::DBIx::Class';
requires 'Catalyst::Plugin::Authentication';
requires 'Catalyst::Plugin::Authentication::Credential::Password';
requires 'Catalyst::Plugin::Authorization::Roles';
requires 'Catalyst::Plugin::Authorization::ACL';

requires 'Catalyst::Plugin::Captcha'; # libgd-dev, libgd2-xpm-dev
requires 'Catalyst::View::JSON';
requires 'Text::Highlight';
#requires 'Catalyst::Plugin::Textile';
requires 'Text::Textile';
requires 'JSON::Syck';
requires 'Catalyst::Model::DBIC::Schema'; # bug in DBIx dependency!
requires 'DateTime::Format::Pg';
requires 'DateTime::Format::MySQL';
requires 'SQL::Translator';
requires 'SCGI';
requires 'Catalyst::Plugin::Server';
requires 'Catalyst::Plugin::Server::XMLRPC';
requires 'Catalyst::Plugin::Prototype';
requires 'Catalyst::View::TT';
requires 'Config::General';                     
# This should reflect the config file format you've chosen
# See Catalyst::Plugin::ConfigLoader for supported formats

requires 'Config::Any::YAML';
requires 'XML::Feed';
requires 'HTML::CalendarMonthSimple';
requires 'Switch';
requires 'DateTime';
requires 'YAML'; 
requires 'PAR::Packer'; # req in Ubuntu libperl-dev
# This should reflect the config file format you've chosen
# See Catalyst::Plugin::ConfigLoader for supported formats
#
catalyst;

install_script glob('script/*.pl');
auto_install;
WriteAll;
